Httpful\Request D

Total Complexity 153
Dependencies 9
Dependents 2
Total lines 1,166
Lines of code 478
Logical lines of code 273
Comment lines 448
Methods 78
Properties 23

Methods 78

Method Rating Maintainability Complexity Lines of code
_curlPrep()
C
33 27 88
_serializePayload()
S
61 8 11
__call()
S
52 7 23
buildUserAgent()
S
51 6 26
buildResponse()
S
53 5 20
attach()
S
57 4 16
_setDefaults()
S
64 4 9
__construct()
S
70 3 6
hasDigestAuth()
S
77 3 3
mime()
S
67 3 8
contentType()
S
67 3 8
init()
S
63 2 11
d()
S
79 2 3
hasBasicAuth()
S
79 2 3
followRedirects()
S
71 2 5
send()
S
67 2 8
hasClientSideCert()
S
79 2 3
method()
S
73 2 5
expects()
S
73 2 5
useProxy()
S
64 2 9
hasProxy()
S
78 2 3
addHeaders()
S
70 2 6
_error()
S
70 2 7
_determineLength()
S
69 2 7
ini()
S
79 1 3
resetIni()
S
80 1 3
hasTimeout()
S
80 1 3
hasBeenInitialized()
S
80 1 3
timeout()
S
77 1 4
timeoutIn()
S
80 1 3
doNotFollowRedirects()
S
80 1 3
sendIt()
S
81 1 3
uri()
S
77 1 4
basicAuth()
S
74 1 5
authenticateWith()
S
79 1 3
authenticateWithBasic()
S
79 1 3
authenticateWithNTLM()
S
79 1 3
ntlmAuth()
S
75 1 4
digestAuth()
S
75 1 4
authenticateWithDigest()
S
79 1 3
clientSideCert()
S
69 1 7
authenticateWithCert()
S
78 1 3
body()
S
73 1 5
sendsAndExpectsType()
S
80 1 3
sendsAndExpects()
S
80 1 3
expectsType()
S
80 1 3
sends()
S
80 1 3
sendsType()
S
80 1 3
strictSSL()
S
77 1 4
withoutStrictSSL()
S
80 1 3
withStrictSSL()
S
80 1 3
useSocks4Proxy()
S
77 1 3
useSocks5Proxy()
S
77 1 3
serializePayload()
S
77 1 4
neverSerializePayload()
S
80 1 3
smartSerializePayload()
S
80 1 3
alwaysSerializePayload()
S
80 1 3
addHeader()
S
76 1 4
autoParse()
S
77 1 4
withoutAutoParsing()
S
80 1 3
withAutoParsing()
S
80 1 3
parseWith()
S
77 1 4
parseResponsesWith()
S
80 1 3
whenError()
S
77 1 4
beforeSend()
S
77 1 4
registerPayloadSerializer()
S
75 1 4
serializePayloadWith()
S
79 1 3
_initializeDefaults()
S
73 1 5
isUpload()
S
80 1 3
addOnCurlOption()
S
76 1 4
get()
S
78 1 3
getQuick()
S
78 1 3
post()
S
78 1 3
put()
S
78 1 3
patch()
S
78 1 3
delete()
S
78 1 3
head()
S
79 1 3
options()
S
79 1 3